package cz.pproproj.aaservice.ddbmodule.dbaccess;

/**
 * @author David
 * @since 14. 12. 2014
 */
public class DBUserDAO {
    private int _id;
    private String _userName;
    private String _password;

    public DBUserDAO() {
    }

    public DBUserDAO(String userName, String lastName) {
        _userName = userName;
        _password = lastName;
    }

    public int getId() {
        return _id;
    }

    public void setId(int id) {
        _id = id;
    }

    public String getUserName() {
        return _userName;
    }

    public void setUserName(String userName) {
        _userName = userName;
    }

    public String getPassword() {
        return _password;
    }

    public void setPassword(String password) {
        _password = password;
    }

    @Override
    public String toString() {
        return "DBUserDAO{" +
                "id=" + _id +
                ", UserName='" + _userName + '\'' +
                ", Password='" + _password + '\'' +
                '}';
    }
}
